package com.lavida.project.system.papers.domain;

import java.util.Date;

import javax.validation.constraints.Pattern;

import com.fasterxml.jackson.annotation.JsonFormat;

public class SubPapers {
	private Integer subId;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date date;
	private String operate;
	@JsonFormat(pattern="yyyy-MM-dd")
	private Date returnTime;
	private String dept;
	private String subname;
	private Integer papers_id;
	public SubPapers() {
		super();
	}
	public SubPapers(Integer subId, Date date, String operate, Date returnTime, String dept, String subname,
			Integer papers_id) {
		super();
		this.subId = subId;
		this.date = date;
		this.operate = operate;
		this.returnTime = returnTime;
		this.dept = dept;
		this.subname = subname;
		this.papers_id = papers_id;
	}
	public Integer getSubId() {
		return subId;
	}
	public void setSubId(Integer subId) {
		this.subId = subId;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getOperate() {
		return operate;
	}
	public void setOperate(String operate) {
		this.operate = operate;
	}
	public Date getReturnTime() {
		return returnTime;
	}
	public void setReturnTime(Date returnTime) {
		this.returnTime = returnTime;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getSubname() {
		return subname;
	}
	public void setSubname(String subname) {
		this.subname = subname;
	}
	public Integer getPapers_id() {
		return papers_id;
	}
	public void setPapers_id(Integer papers_id) {
		this.papers_id = papers_id;
	}
	@Override
	public String toString() {
		return "SubPapers [subId=" + subId + ", date=" + date + ", operate=" + operate + ", returnTime=" + returnTime
				+ ", dept=" + dept + ", subname=" + subname + ", papers_id=" + papers_id + "]";
	}
	
}
